/**
 * 
 */
package net.jadoth.lang.reference;

/**
 * Reference wrapper class for an int value.
 * 
 * @author Thomas Muenz
 *
 */
public final class _intReference
{
	/**
	 * The int value this reference points to
	 */
	public int value;

	
	/**
	 * Instantiates a new IntReference object.
	 * 
	 * @param value the initial value for this reference
	 */
	public _intReference(final int value)
	{
		super();
		this.value = value;
	}
	
	/**
	 * @return the String represenation of this reference's int value (<code>return Integer.toString(this.value)</code>)
	 */
	@Override
	public String toString()
	{
		return Integer.toString(this.value);
	}
	
}
